package com.xykj.enterprise.wechat.busi.service.identity;

import com.xykj.enterprise.wechat.core.model.dodb.JsapiTicket;

/**
 * @Author george
 * @create 2021-04-19 21:02
 */
public interface JsapiTicketService {

    JsapiTicket getAgentTicket(String corpid,String agentId);

    JsapiTicket getCorpTicket(String corpid,String agentId);

    void saveAgentTicket(
            String corpid,
            String agentId,
            String jsapTicket,
            Integer expire
    );

    void saveCorpTicket(
            String corpid,
            String agentId,
            String jsapTicket,
            Integer expire
    );

}
